<template>
  <div id="app">
    <backzj v-show="$route.meta.back"/>
    <keep-alive>
      <router-view v-show="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-show="!$route.meta.keepAlive"></router-view>
    <dibutarber v-show="$route.meta.tarber"/>
  </div>
</template>

<script>
import Backzj from './components/backzj.vue'
import Dibutarber from './components/dibutarber.vue'
export default {
  components: { Dibutarber, Backzj },
  name: 'App'
}
</script>

<style>
*{padding: 0;margin: 0;}
html,body,#app{
  height: 100%;
  background: #f6f6f6;
}
.zhezhao{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(68, 68, 68, 0.5);
  z-index: 100;
}
.padd{padding: 0 10px;}
.zhanwei{width: 100%;height: 100px;}
.dbuzw{width: 100%;height: 40px;}
</style>
